﻿module Supernova {

    export class Toast {

        public x: number = 0;

        public y: number = 0;

        public text: string = '';

        public color: string = '#00f';

        public life: number = 0;

        public maxLife: number = 90;

        public speed: number = 0.25;

        constructor(x: number, y: number, text: string) {
            this.x = x;
            this.y = y;
            this.text = text;
        }

    }

}